#ifndef MEMENTO_H_
#define MEMENTO_H_

#include <string>

class Organizer;

/*
 * Memento is the class which is used to
 * save and restore the main state of Employee.
 * So it has similar members with Employee: name and age.
 */

class Memento
{
public:
	~Memento(void);

protected:
	// so Organizer could fully access this class
	// and avoid other class to access the detail
	friend class Organizer;
	Memento(void);

public:
	std::string name;
	int age;
};

#endif
